
import os
import natsort
from enum import Enum


class DrawType(Enum):
    DRAW_TYPE_NONE = 0
    DRAW_TYPE_POINT = (1 << 0)
    DRAW_TYPE_RECT = (1 << 1)
    DRAW_TYPE_POLYGON = (1 << 2)
    DRAW_TYPE_LINE = (1 << 3)


class create_struct(object):
    def __init__(self, **kwargs):
        self.__dict__.update(kwargs)
